package bean.catalog;

import java.util.ArrayList;

public class SubCriteria {

	private String name;
	private int id;
	private ArrayList<String> productList;

	public ArrayList<String> getProductList() {
		return productList;
	}

	public SubCriteria(String name) {
		this.name = name;
		productList = new ArrayList<String>();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void addProduct(String id){
		productList.add(id);
	}
}